package com.es.easystoragesimulatedata.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 充放电循环数据模型
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "充放电循环数据模型")
public class ChargeDischargeCycle {
    
    @JsonProperty("chargeTime")
    @Schema(description = "充电时间段", example = "08:00-10:00")
    private String chargeTime;
    
    @JsonProperty("chargeTargetSOC")
    @Schema(description = "充电目标SOC", example = "80.0")
    private Double chargeTargetSOC;
    
    @JsonProperty("chargeEnergy")
    @Schema(description = "充电能量", example = "1000.0")
    private Double chargeEnergy;
    
    @JsonProperty("dischargeTime")
    @Schema(description = "放电时间段", example = "18:00-20:00")
    private String dischargeTime;
    
    @JsonProperty("dischargeTargetSOC")
    @Schema(description = "放电目标SOC", example = "20.0")
    private Double dischargeTargetSOC;
    
    @JsonProperty("dischargeEnergy")
    @Schema(description = "放电能量", example = "800.0")
    private Double dischargeEnergy;
}
